@extends('backend.layouts.app')

@section('content')
<div class="layui-card">
    <div class="layui-card-header layui-card-header-auto">
        <h2>更新功能按钮</h2>
    </div>
    <div class="layui-card-body">
        <form class="layui-form" method="post"
            action="{{route('admin.auth.module.button.update',['module_button_id'=>$module_button->module_button_id])}}">
            {{method_field('put')}}
            @include('backend.auth.module_button._form')
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="submit" class="layui-btn" lay-submit="" lay-filter="formDemo">确 认</button>
                    <a class="layui-btn"
                        href="{{route('admin.auth.module.button.index',['module_id'=>$button->module_id])}}">返 回</a>
                </div>
            </div>
        </form>
    </div>
</div>
@endsection

@section('script')
@include('backend.auth.module_button._js')
@endsection
